package com.itheima.service;

import com.itheima.dto.ShoppingCartDto;
import com.itheima.dto.SubShoppingCartDto;
import com.itheima.pojo.ShoppingCart;

import java.util.List;

/**
 * @author YangJiaHao
 */

public interface ShoppingCartService {

    Boolean add(ShoppingCartDto shoppingCartDto);

    List<ShoppingCart> list();

    Boolean clean();

    Boolean remove(SubShoppingCartDto dto);
}
